/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;

import ModelLayer.Supplier;
import java.util.ArrayList;

/**
 *
 * @author Sharif
 */
public interface IFDBSupplier {

    int delete(int id);

    Supplier findSupplier(String empssn, boolean retriveAssociation);

    ArrayList getAllSuppliers(boolean retriveAssociation);

    int insertSupplier(Supplier emp);

    Supplier searchSupplier(String attValue, boolean retriveAssociation);

    int updateSupplier(Supplier emp);

}
